<style type="text/css">
    .ye_img{width: 120px}
</style>
<form class="layui-form layui-card" action="{:request()->url()}" data-auto="true" method="post" autocomplete="off">
    <div class="layui-card-body">
        <div class="layui-form-item">
            <label class="layui-form-label label-required">公司名称</label>
            <div class="layui-input-block">
                <input readonly name="-" value='{$vo.name|default=""}' required  class="layui-input">
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label label-required">公司法定代表人</label>
            <div class="layui-input-block">

                <input readonly name="-" value='{$vo.corporation|default="-"}' required  class="layui-input">

            </div>
        </div>
       <div class="layui-form-item">
            <label class="layui-form-label label-required">公司信用代码</label>
            <div class="layui-input-block">
                <input readonly name="-" value='{$vo.code|default=""}' required  class="layui-input">
            </div>
        </div>

        <div class="layui-form-item">
            <label class="layui-form-label label-required">公司负责人</label>
            <div class="layui-input-block">
                {if $vo.user_name==NULL}
                <input readonly name="-" value='{$vo.corporation|default=""}' required  class="layui-input">
                {else}
                <input readonly name="-" value='{$vo.user_name|default=""}' required  class="layui-input">
                {/if}
            </div>
        </div>

                        <div class="layui-form-item">
            <label class="layui-form-label label-required">公司负责人联系电话</label>
            <div class="layui-input-block">
                <input readonly name="-" value='{$vo.mobile|default="暂无"}' required  class="layui-input">
            </div>
        </div>
                <div class="layui-form-item">
            <label class="layui-form-label label-required">公司联系电话</label>
            <div class="layui-input-block">
                <input readonly name="-" value='{$vo.company_mobile|default="暂无"}' required  class="layui-input">
            </div>
        </div>
                <div class="layui-form-item">
            <label class="layui-form-label label-required">公司地址</label>
            <div class="layui-input-block">
                <input readonly name="-" value='{$vo.address|default=""}' required  class="layui-input">
            </div>
        </div>
                <div class="layui-form-item">
            <label class="layui-form-label label-required">公司营业执照</label>
            <div class="layui-input-block">
              {php}
               {
            
                if (strstr($vo['imgurl'],'http://pc.zsicp.com')){
                    echo  "<img class=".'ye_img'." data-tips-image src=".$vo['imgurl'].">";
                }else{
                    echo "<img class=".'ye_img'." data-tips-image src="."http://devs.zsicp.com/public/upload/business_license/".$vo['imgurl'].">";   
                }
            
                }
            {/php}
            </div>
        </div>





    </div>

    <div class="hr-line-dashed"></div>
    {notempty name='vo.id'}<input type='hidden' value='{$vo.id}' name='id'>{/notempty}

    <div class="layui-form-item text-center">
      
        <button class="layui-btn layui-btn-green" type='button'  data-close>关闭</button>
    </div>

    <script>

    window.form.render();

</script>

</form>


